WPTelegram\Core\modules\p2tg\PostSender D

Total Complexity 198
Dependencies 12
Dependents 1
Total lines 1,720
Lines of code 767
Logical lines of code 463
Comment lines 569
Methods 46
Properties 9

Methods 46

Method Rating Maintainability Complexity Lines of code
security_and_validity_check()
B
40 24 56
send_the_post()
B
39 22 58
set_form_data()
B
40 16 59
get_default_responses()
A
39 11 67
check_for_rules()
A
46 10 39
send_responses()
A
45 9 39
get_response_text()
A
42 8 49
get_options()
S
51 7 28
modify_http_api_curl()
S
55 7 17
get_parsed_button_url()
S
52 6 24
get_inline_keyboard()
S
55 5 19
update_post_meta()
S
60 5 13
may_be_save_options()
S
63 5 10
get_featured_image_source()
S
61 4 12
process_template_logic()
S
53 3 23
get_responses()
S
55 3 18
get_file_responses()
S
58 3 15
may_be_clean_up()
S
65 4 8
add_reply_markup()
S
60 3 13
may_be_setup_postdata()
S
63 3 11
set_options()
S
62 3 11
add_hidden_image_url()
S
64 3 9
may_be_reset_postdata()
S
67 3 8
get_defaults()
S
51 1 27
send_post()
S
61 2 12
delayed_post()
S
71 2 6
save_options_to_meta()
S
67 2 7
delay_in_posting()
S
66 2 8
clear_scheduled_hook()
S
72 2 5
get_saved_options()
S
67 2 7
future_to_publish()
S
70 2 6
bypass_rules()
S
71 2 6
get_valid_post_statuses()
S
61 1 14
add_admin_notice_query_var()
S
73 1 4
handle_wp_error()
S
67 1 7
wp_insert_post()
S
80 1 3
restore_wpautop_hook()
S
69 1 6
defaults_overridden()
S
80 1 3
rest_after_insert()
S
80 1 3
get_message_template()
S
74 1 4
is_valid_status()
S
74 1 4
is_status_of_type()
S
74 1 4
rules_apply()
S
74 1 4
delay_post()
S
67 1 7
process()
S
68 1 7
init()
S
68 1 7